<?php
	
	class PostDto extends CI_Model{
		
		private $postid;
		private $title;
		private $content;
		private $image;
		private $postdate;
		private $categoryname;
		private $viewcount;
		private $userid;
		
	
    /**
     * postid
     * @return unkown
     */
    public function getPostid(){
        return $this->postid;
    }

    /**
     * postid
     * @param unkown $postid
     * @return PostDto
     */
    public function setPostid($postid){
        $this->postid = $postid;
        return $this;
    }

    /**
     * title
     * @return unkown
     */
    public function getTitle(){
        return $this->title;
    }

    /**
     * title
     * @param unkown $title
     * @return PostDto
     */
    public function setTitle($title){
        $this->title = $title;
        return $this;
    }

    /**
     * content
     * @return unkown
     */
    public function getContent(){
        return $this->content;
    }

    /**
     * content
     * @param unkown $content
     * @return PostDto
     */
    public function setContent($content){
        $this->content = $content;
        return $this;
    }

    /**
     * image
     * @return unkown
     */
    public function getImage(){
        return $this->image;
    }

    /**
     * image
     * @param unkown $image
     * @return PostDto
     */
    public function setImage($image){
        $this->image = $image;
        return $this;
    }

    /**
     * postdate
     * @return unkown
     */
    public function getPostdate(){
        return $this->postdate;
    }

    /**
     * postdate
     * @param unkown $postdate
     * @return PostDto
     */
    public function setPostdate($postdate){
        $this->postdate = $postdate;
        return $this;
    }

    /**
     * categoryid
     * @return unkown
     */
    public function getCategoryname(){
        return $this->categoryname;
    }

    /**
     * categoryid
     * @param unkown $categoryid
     * @return PostDto
     */
    public function setCategoryname($categoryname){
        $this->categoryname = $categoryname;
        return $this;
    }

    /**
     * viewcount
     * @return unkown
     */
    public function getViewcount(){
        return $this->viewcount;
    }

    /**
     * viewcount
     * @param unkown $viewcount
     * @return PostDto
     */
    public function setViewcount($viewcount){
        $this->viewcount = $viewcount;
        return $this;
    }

    /**
     * userid
     * @return unkown
     */
    public function getUserid(){
        return $this->userid;
    }

    /**
     * userid
     * @param unkown $userid
     * @return PostDto
     */
    public function setUserid($userid){
        $this->userid = $userid;
        return $this;
    }

}